<%--
    Document   : header
    Created on : Jul 9, 2013, 8:46:01 AM
    Author     : Tingo
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql" %>
<link rel="stylesheet" href="./css/style.css" type="text/css">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<head>
    <link rel="shortcut icon" href="Images/favicon.ico">
</head>
<body style="margin: 0px;">
    <div class="header_master">
        <div class="header_menu">
            <ul>
                <li><a href="homepage.jsp">Trang chủ</a></li>
                <li><a href="#">Sơ cấp      &dArr;</a>
                    <ul>
                        <c:forEach var="rows" items="${MENU}">
                            <c:if test="${rows.type=='Sơ Cấp'}">
                                <c:choose>
                                    <c:when test="${ACCOUNT == 'admin'}">
                                        <li><a href="ControllerServlet?optionId=${rows.id}&optionType=${rows.type}&action=lessonListAdmin">
                                                ${rows.name}</a>
                                        </li>
                                    </c:when>
                                    <c:otherwise>
                                        <li><a href="ControllerServlet?optionId=${rows.id}&optionType=${rows.type}&action=lessonList">
                                                ${rows.name}</a>
                                        </li>
                                    </c:otherwise>
                                </c:choose>
                            </c:if>
                        </c:forEach>
                    </ul>
                </li>
                <li><a href="#">Trung cấp      &dArr;</a>

                    <ul>
                        <c:forEach var="rows" items="${MENU}">
                            <c:if test="${rows.type=='Trung Cấp'}">
                                <c:choose>
                                    <c:when test="${ACCOUNT == 'admin'}">
                                        <li><a href="ControllerServlet?optionId=${rows.id}&optionType=${rows.type}&action=lessonListAdmin">
                                                ${rows.name}</a>
                                        </li>
                                    </c:when>
                                    <c:otherwise>
                                        <li><a href="ControllerServlet?optionId=${rows.id}&optionType=${rows.type}&action=lessonList">
                                                ${rows.name}</a>
                                        </li>
                                    </c:otherwise>
                                </c:choose>
                            </c:if>
                        </c:forEach>
                    </ul>
                </li>
                <li><a href="#">Trắc nghiệm      &dArr;</a>
                    <ul>
                        <li><a href="#">Link</a></li>
                        <li><a href="#">Link</a></li>
                    </ul>
                </li>
                <li><a href="#">Tài liệu      &dArr;</a>
                    <ul>
                        <li><a href="#">Link</a></li>
                        <li><a href="#">Link</a></li>
                    </ul>
                </li>
                <li><a href="#">Liên hệ      &dArr;</a>
                    <ul>
                        <li><a href="#">Link</a></li>
                        <li><a href="#">Link</a></li>
                    </ul>
                </li>
            </ul>
        </div>
        <div class="header_content">
            Logo & slogan here
        </div>
    </div>
</body>
